package com.todo.sight.application.iface.frontend.request;

import com.todo.common.utils.StringUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/5/8 18:34
 * @description
 */
@Data
@Schema(name = "根据城市名称查询城市信息列表", description = "根据城市名称查询城市信息列表")
public class QueryCityInfoByNameParam {


    @Schema(name = "城市名称", description = "城市名称")
    private String cityName;

    public boolean baseCheck() {
        if (StringUtils.isBlank(cityName)){
            return false;
        }
        return true;
    }
}
